#include <stdio.h>
#include <string.h>
#include <stdlib.h>

struct option_list_t
{
    char *name;
    int type;
    int def;
};

typedef int (*option_parse_func_t)(struct option_list_t *option_list,char *option_value);

int create_user_option_list(struct  option_list_t *list,int list_num);

int create_user_option_parse(option_parse_func_t func);